Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Fix for 1 vulnerabilities #2141

Closed

Conversation

vvvvvv1vvvvvv
Copy link
Member

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `yarn` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • package.json
    • yarn.lock

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

Vulnerabilities that will be fixed

With an upgrade:
Severity Issue Breaking Change Exploit Maturity
high severity Prototype Pollution
SNYK-JS-WEB3UTILS-6229337
Yes Proof of Concept

Check the changes in this PR to ensure they won't cause issues with your project.


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Prototype Pollution

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@coinbase/wallet-sdk@3.8.0-beta.3 environment, network Transitive: eval +11 13.6 MB jungho.bang
npm/@debank/common@0.3.60 None 0 1.05 MB cs1707
npm/@debank/festats@1.0.1 network 0 5.03 kB qingwei.li
npm/@dnd-kit/core@5.0.1 environment +1 890 kB clauderic
npm/@dnd-kit/sortable@6.0.0 environment +1 273 kB clauderic
npm/@dnd-kit/utilities@3.0.2 environment 0 70 kB clauderic
npm/@eth-optimism/contracts@0.5.32 None +5 16.3 MB karlfloersch
npm/@ethereumjs/common@2.5.0 None +3 2.62 MB holgerd77
npm/@ethereumjs/tx@3.3.2 None 0 384 kB holgerd77
npm/@ethereumjs/util@8.1.0 None +1 319 kB holgerd77
npm/@ethersproject/abi@5.6.4 None 0 498 kB ricmoo
npm/@ethersproject/abstract-provider@5.6.1 None 0 60.2 kB ricmoo
npm/@ethersproject/abstract-signer@5.6.2 None 0 82.2 kB ricmoo
npm/@ethersproject/address@5.6.1 None 0 33.1 kB ricmoo
npm/@ethersproject/base64@5.6.1 None 0 11.3 kB ricmoo
npm/@ethersproject/bignumber@5.6.2 None 0 143 kB ricmoo
npm/@ethersproject/bytes@5.6.1 None 0 80.9 kB ricmoo
npm/@ethersproject/constants@5.6.1 None 0 18.7 kB ricmoo
npm/@ethersproject/contracts@5.6.2 None 0 250 kB ricmoo
npm/@ethersproject/hash@5.6.1 None 0 123 kB ricmoo
npm/@ethersproject/keccak256@5.6.1 None 0 6.09 kB ricmoo
npm/@ethersproject/networks@5.6.4 None 0 46.5 kB ricmoo
npm/@ethersproject/pbkdf2@5.6.1 None 0 17.4 kB ricmoo
npm/@ethersproject/properties@5.6.0 None 0 31 kB ricmoo
npm/@ethersproject/providers@5.6.8 network 0 1.2 MB ricmoo
npm/@ethersproject/random@5.6.1 None 0 17.3 kB ricmoo
npm/@ethersproject/rlp@5.6.1 None 0 29.6 kB ricmoo
npm/@ethersproject/sha2@5.6.1 None 0 21.5 kB ricmoo
npm/@ethersproject/signing-key@5.6.2 None +1 343 kB ricmoo
npm/@ethersproject/strings@5.6.1 None 0 119 kB ricmoo
npm/@ethersproject/transactions@5.6.2 None 0 89.6 kB ricmoo
npm/@ethersproject/web@5.6.1 network 0 123 kB ricmoo
npm/@ethersproject/wordlists@5.6.1 None 0 390 kB ricmoo
npm/@gnosis.pm/safe-core-sdk-types@0.1.1 None 0 26.7 kB germartinez
npm/@gnosis.pm/safe-core-sdk@1.1.1 None +3 1.28 MB germartinez
npm/@imkey/web3-provider@1.3.10 Transitive: environment, eval, network +12 19.2 MB xuneal
npm/@keystonehq/hw-app-eth@0.2.23 Transitive: environment +5 748 kB keystoneorg
npm/@keystonehq/hw-transport-webusb@0.2.23 None 0 56 kB keystoneorg
npm/@keystonehq/metamask-airgapped-keyring@0.2.5-alpha.2.1 environment +8 956 kB soralit
npm/@ledgerhq/devices@8.0.7 None 0 98.9 kB sergii-shkolin
npm/@ledgerhq/errors@6.14.0 None 0 168 kB sergii-shkolin
npm/@ledgerhq/hw-app-eth@6.34.9 Transitive: environment, filesystem, network +59 67.8 MB sergii-shkolin
npm/@ledgerhq/hw-transport-webhid@6.27.20 None +3 4.77 MB sergii-shkolin
npm/@ledgerhq/logs@6.10.1 None 0 13.2 kB sergii-shkolin
npm/@metamask/browser-passworder@4.1.0 None 0 36.7 kB metamaskbot
npm/@metamask/eth-sig-util@5.1.0 None +2 421 kB metamaskbot
npm/@metamask/obs-store@6.0.2 None +1 28 kB rekmarks
npm/@metamask/safe-event-emitter@2.0.0 None 0 7.65 kB whymarrh
npm/@ngraveio/bc-ur@1.1.6 None 0 114 kB antwnic4
npm/@noble/curves@1.1.0 None 0 1.3 MB paulmillr
npm/@onekeyfe/hd-core@0.3.27 Transitive: environment, network +1 2.89 MB 1keyfe
npm/@onekeyfe/hd-web-sdk@0.3.27 None 0 21.9 MB 1keyfe
npm/@rabby-wallet/eth-coinbase-keyring@0.0.0-beta.8 None +1 316 kB qingwei.li
npm/@rabby-wallet/eth-gnosis-keyring@0.0.1 None 0 16.3 kB galenyuan
npm/@rabby-wallet/eth-hd-keyring@4.2.0 None 0 58.7 kB qingwei.li
npm/@rabby-wallet/eth-lattice-keyring@1.1.0 None 0 31.1 kB qingwei.li
npm/@rabby-wallet/eth-simple-keyring@5.0.1 None +2 1.01 MB galenyuan
npm/@rabby-wallet/eth-trezor-keyring@2.5.1 None 0 38.4 kB qingwei.li
npm/@rabby-wallet/eth-walletconnect-keyring@2.1.1 None 0 130 kB qingwei.li
npm/@rabby-wallet/eth-watch-keyring@1.0.0 None 0 8.3 kB galenyuan
npm/@rabby-wallet/gnosis-sdk@1.3.6 Transitive: environment, network +2 774 kB cs1707
npm/@rabby-wallet/page-provider@0.3.0 environment 0 155 kB qingwei.li
npm/@rabby-wallet/rabby-api@0.7.7 environment Transitive: filesystem, network +4 193 kB dmy147
npm/@rabby-wallet/rabby-security-engine@1.1.17 None 0 67.1 kB galenyuan
npm/@rabby-wallet/rabby-swap@0.0.32 Transitive: filesystem, network +4 185 kB dmy147
npm/@rabby-wallet/widgets@1.0.9 network 0 307 kB cs1707
npm/@rematch/core@2.2.0 environment 0 312 kB semoal
npm/@rematch/select@3.1.2 environment 0 87.6 kB semoal
npm/@scure/bip39@1.2.1 None 0 357 kB paulmillr
npm/@sentry/browser@6.7.2 None +1 2.69 MB sentry-bot
npm/@sentry/react@6.7.2 None 0 192 kB sentry-bot
npm/@sentry/tracing@6.19.7 None +1 5.54 MB sentry-bot
npm/@sentry/webpack-plugin@1.18.9 environment 0 53 kB sentry-bot
npm/@spruceid/siwe-parser@2.0.2 None 0 35.6 kB w4ll3
npm/@svgr/webpack@5.5.0 None +1 50.4 kB neoziro
npm/@types/bignumber.js@5.0.0 None 0 1.74 kB types
npm/@types/chrome@0.0.263 None 0 694 kB types
npm/@types/events@3.0.0 None 0 3.78 kB types
npm/@types/jest@27.4.0 None 0 74.2 kB types
npm/@types/koa-compose@3.2.5 None 0 5.21 kB types
npm/@types/lodash@4.14.172 None 0 859 kB types
npm/@types/lru-cache@5.1.0 None 0 9.23 kB types
npm/@types/node@14.18.0 None 0 769 kB types
npm/@types/react-dom@17.0.3 None 0 24.3 kB types
npm/@types/react-router-dom@5.1.7 None 0 6.75 kB types
npm/@types/react-window@1.8.5 None 0 26.3 kB types
npm/@types/react@17.0.4 None 0 160 kB types
npm/@types/semver-compare@1.0.1 None 0 3 kB types
npm/@types/sinon@10.0.13 None 0 77.9 kB types
npm/@types/w3c-web-hid@1.0.3 None 0 8.63 kB types
npm/@types/webextension-polyfill@0.10.2 None 0 487 kB types
npm/@typescript-eslint/eslint-plugin@5.13.0 None 0 2.25 MB jameshenry
npm/@typescript-eslint/parser@4.22.1 None 0 63.3 kB jameshenry
npm/@vespaiach/axios-fetch-adapter@0.3.1 network Transitive: environment +1 387 kB vespaiach
npm/@welldone-software/why-did-you-render@6.2.1 None 0 167 kB vzaidman
npm/@zxing/browser@0.0.10 None 0 5.08 MB odahcam
npm/@zxing/library@0.8.0 None 0 3.13 MB odahcam
npm/accepts@1.3.8 None +1 44.2 kB dougwilson
npm/ahooks@3.7.8 None 0 586 kB taoweng
npm/antd-dayjs-webpack-plugin@1.0.6 None 0 8.78 kB iamkun
npm/antd@4.15.3 environment 0 41.9 MB yesmeck
npm/autoprefixer@10.2.5 environment 0 251 kB ai
npm/bignumber.js@9.0.1 None 0 402 kB mikemcl
npm/bitbox-api@0.3.2 eval, network 0 793 kB benmma
npm/chalk@4.1.2 None +4 90.7 kB sindresorhus
npm/clipboard@2.0.8 None 0 91.5 kB vitormalencar
npm/clsx@1.1.1 None 0 6.28 kB lukeed
npm/copy-webpack-plugin@11.0.0 None 0 77.6 kB evilebottnawi
npm/craco-antd@1.19.0 filesystem 0 19.7 kB formapi
npm/css-loader@5.1.3 None +3 188 kB evilebottnawi
npm/dayjs@1.10.7 None 0 623 kB iamkun
npm/eslint-config-prettier@8.3.0 None 0 18.2 kB lydell
npm/eslint-config-react-app@6.0.0 None 0 19.1 kB iansu
npm/eslint-plugin-import@2.22.1 environment, filesystem, unsafe 0 900 kB ljharb
npm/eslint-plugin-prettier@3.4.0 filesystem 0 51.2 kB bpscott
npm/eslint-plugin-react@7.23.2 filesystem 0 793 kB ljharb
npm/eslint-webpack-plugin@2.5.4 filesystem +2 124 kB ricardogobbosouza
npm/eslint@8.10.0 filesystem +6 2.91 MB eslintbot
npm/eth-block-tracker@5.0.1 None +1 49.3 kB rekmarks
npm/eth-json-rpc-filters@6.0.0 None +3 81 kB gudahtt
npm/eth-rpc-errors@4.0.3 None +1 86.2 kB rekmarks
npm/eth-sig-util@3.0.1 None +1 227 kB gudahtt
npm/ethereumjs-util@7.1.2 None +1 285 kB holgerd77
npm/ethereumjs-wallet@1.0.2 None +1 243 kB ralxz
npm/ethers@5.4.2 None +2 10.3 MB ricmoo
npm/file-loader@6.2.0 None +1 74.5 kB evilebottnawi
npm/follow-redirects@1.15.3 network 0 28.6 kB rubenverborgh
npm/fs-extra@10.0.0 Transitive: filesystem +1 152 kB ryanzim
npm/hdkey@0.8.0 None 0 12.7 kB jprichardson
npm/html-webpack-plugin@5.3.1 filesystem, unsafe 0 151 kB jantimon
npm/human-standard-token-abi@2.0.0 None 0 16.2 kB danfinlay
npm/i18next@23.4.1 None 0 585 kB adrai
npm/interval-promise@1.4.0 None 0 20.2 kB andyfleming
npm/jest-environment-jsdom@29.7.0 None 0 9.21 kB simenb
npm/jest-styled-components@7.0.8 None 0 43.1 kB probablyup
npm/jest@29.7.0 None 0 5.01 kB simenb
npm/js-cookie@2.2.1 None 0 27.6 kB carhartl
npm/json-rpc-engine@6.1.0 None 0 47.4 kB rekmarks
npm/json-rpc-random-id@1.0.1 None 0 2.12 kB kumavis
npm/keccak@3.0.4 None +1 794 kB fanatid
npm/koa-compose@4.1.0 None 0 4.16 kB dead_horse
npm/less-loader@8.1.1 None 0 46.6 kB evilebottnawi
npm/less-vars-to-js@1.3.0 None 0 55.3 kB mjt01
npm/loglevel@1.7.1 None 0 136 kB pimterry
npm/obs-store@4.0.3 None +1 28.2 kB kumavis
npm/p-queue@7.3.0 None 0 44.5 kB sindresorhus
npm/p-retry@5.1.2 None 0 12.8 kB sindresorhus
npm/parseurl@1.3.3 None 0 10.3 kB dougwilson
npm/patch-package@6.4.7 environment, filesystem +4 363 kB ds300
npm/postcss-custom-properties@11.0.0 filesystem 0 124 kB semigradsky
npm/postcss-import@14.0.1 None 0 37.7 kB ryanzim
npm/postcss-loader@5.2.0 eval, unsafe 0 60.6 kB evilebottnawi
npm/postcss-nested@5.0.5 None 0 13.7 kB ai
npm/postinstall-postinstall@2.1.0 filesystem, shell 0 2.74 kB ds300
npm/prettier@2.2.1 environment, eval, filesystem, unsafe 0 19.3 MB sosukesuzuki
npm/qrcode.react@1.0.1 environment 0 26.8 kB zpao
npm/qs@6.11.2 None 0 241 kB ljharb
npm/range-parser@1.2.1 None 0 8.46 kB dougwilson
npm/raw-loader@4.0.2 None +1 46.4 kB evilebottnawi
npm/react-countup@6.5.0 None 0 33.6 kB mapkeji
npm/react-dom@17.0.2 environment +1 3.08 MB gaearon
npm/react-ga@3.3.0 None 0 213 kB simeonc
npm/react-i18next@13.0.3 None +2 374 kB adrai
npm/react-idle-timer@5.7.2 None 0 133 kB supremetechnopriest
npm/react-markdown@7.1.0 Transitive: environment +1 199 kB wooorm
npm/react-redux@8.0.1 environment +1 315 kB acemarke
npm/react-router-dom@5.2.0 environment +3 774 kB mjackson
npm/react-use@17.2.4 environment 0 519 kB streamich
npm/react-virtuoso@4.6.1 None 0 248 kB petyosi
npm/react-window@1.8.6 environment +1 890 kB brianvaughn
npm/recharts@2.7.1 None 0 4.7 MB ckifer
npm/redux@4.2.0 environment 0 179 kB acemarke
npm/remark-gfm@3.0.1 None 0 17 kB wooorm
npm/rlp@2.2.6 None 0 44.4 kB holgerd77
npm/rxjs@6.6.7 None 0 5.13 MB blesh
npm/secp256k1@4.0.3 None 0 1.89 MB fanatid
npm/semver@7.5.2 None 0 92.6 kB npm-cli-ops
npm/shelljs@0.8.5 environment, filesystem +1 227 kB nfischer
npm/sinon-chrome@3.0.1 None 0 4.99 MB acvetkov
npm/stream-browserify@3.0.0 None +1 26 kB goto-bus-stop
npm/stream-http@3.2.0 None +1 41.2 kB jhiesey
npm/style-loader@2.0.0 None +1 94.1 kB evilebottnawi
npm/style-resources-loader@1.5.0 filesystem +2 161 kB yenshih
npm/styled-components@5.3.5 environment +2 3.53 MB probablyup
npm/supports-color@5.5.0 environment 0 6.63 kB sindresorhus
npm/supports-preserve-symlinks-flag@1.0.0 None 0 9.18 kB ljharb
npm/tailwindcss@2.2.2 environment, filesystem +1 34.6 MB malfaitrobin
npm/tinycolor2@1.6.0 None 0 285 kB bgrins
npm/ts-import-plugin@1.6.7 environment 0 51.8 kB broooooklyn
npm/ts-jest@29.1.1 environment, filesystem, unsafe 0 307 kB kul
npm/ts-loader@9.1.1 filesystem 0 256 kB johnnyreilly
npm/ts-toolbelt@9.6.0 None 0 248 kB pirix-gh
npm/tsconfig-paths-webpack-plugin@3.5.1 None 0 61.1 kB jonaskello
npm/tslib@2.3.1 None 0 39.1 kB typescript-bot
npm/typescript-plugin-styled-components@2.0.0 None 0 44.6 kB igorbek
npm/typescript-transform-paths@3.0.0 None 0 60 kB danielpanpm
npm/typescript@4.5.4 None 0 64 MB typescript-bot
npm/url-loader@4.1.1 None +1 66 kB evilebottnawi
npm/uuid@9.0.0 None 0 123 kB ctavan
npm/web3-eth-abi@4.0.1 None 0 198 kB jdevcs
npm/web3-utils@4.2.1 None 0 521 kB jdevcs
npm/webextension-polyfill@0.7.0 None 0 195 kB addons-robot
npm/webpack-bundle-analyzer@4.4.0 environment, filesystem, network Transitive: shell +2 1.31 MB th0r
npm/webpack-cli@4.10.0 environment, filesystem Transitive: shell +3 352 kB evilebottnawi
npm/webpack-dev-server@4.7.4 environment, network Transitive: filesystem, shell +8 846 kB evilebottnawi
npm/webpack-merge@5.7.3 None +5 111 kB bebraw
npm/webpack@5.76.0 environment, filesystem, network, unsafe +4 4.83 MB evilebottnawi
npm/zip-dir@2.0.0 filesystem 0 13.7 kB jsantell

🚮 Removed packages: npm/@humanwhocodes/object-schema@1.2.1, npm/@jridgewell/gen-mapping@0.3.3, npm/@jridgewell/resolve-uri@3.1.0, npm/@jridgewell/set-array@1.1.2, npm/@noble/hashes@1.3.1, npm/@protobufjs/aspromise@1.1.2, npm/@solana/buffer-layout@4.0.1, npm/@types/connect@3.4.35, npm/@types/estree@0.0.51, npm/@types/hoist-non-react-statics@3.3.1, npm/acorn@8.8.2, npm/ajv@6.12.6, npm/base-x@4.0.0, npm/bindings@1.5.0, npm/bitcoin-ops@1.4.1, npm/brorand@1.1.0, npm/browserify-aes@1.2.0, npm/browserify-rsa@4.1.0, npm/ci-info@3.9.0, npm/cipher-base@1.0.4, npm/citty@0.1.6, npm/console-control-strings@1.1.0, npm/create-hmac@1.1.7, npm/decode-uri-component@0.2.2, npm/defu@6.1.4, npm/domelementtype@1.3.1, npm/es6-promise@4.2.8, npm/esprima@4.0.1, npm/eventemitter3@4.0.7, npm/evp_bytestokey@1.0.3, npm/fast-json-stable-stringify@2.1.0, npm/fsevents@2.3.2, npm/mime@1.6.0, npm/minimalistic-assert@1.0.1, npm/mlly@1.6.1, npm/moment@2.29.4, npm/ms@2.1.3, npm/node-forge@1.3.1, npm/object-keys@1.1.1, npm/parse-asn1@5.1.6, npm/pathe@1.1.2, npm/pbkdf2@3.1.2, npm/randombytes@2.1.0, npm/resize-observer-polyfill@1.5.1, npm/ripemd160@2.0.2, npm/sax@1.2.4, npm/serialize-javascript@6.0.1, npm/strip-json-comments@3.1.1, npm/tsutils@3.21.0, npm/type-check@0.4.0, npm/type-detect@4.0.8, npm/uri-js@4.4.1

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Protestware/Troll package npm/styled-components@5.3.5
  • Note: This package prints a protestware console message regarding Ukraine for users with Russian language locale
Install scripts npm/styled-components@5.3.5
  • Install script: postinstall
  • Source: node ./postinstall.js
Install scripts npm/postinstall-postinstall@2.1.0

View full report↗︎

Next steps

What is protestware?

This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.

Consider that consuming this package my come along with functionality unrelated to its primary purpose.

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/styled-components@5.3.5
  • @SocketSecurity ignore npm/postinstall-postinstall@2.1.0

@vvvvvv1vvvvvv
Copy link
Member Author

need to fix breaking changes first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants